#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.biz.util;

/**
 * Created by well on 16/7/12.
 */
public class EmojiUtil {

    public static String filterEmoji(String source) {
        if (source == null) {
            return source;
        }
        return source.replaceAll("[^${symbol_escape}${symbol_escape}u0000-${symbol_escape}${symbol_escape}uFFFF]", "*");
    }

}
